package com.qipay.excel.vo;

import org.apache.poi.hssf.util.HSSFColor;
import org.apache.poi.ss.usermodel.CellStyle;

/**
 * Creator: Yao
 * Date:    2017/12/3
 * For:
 * Other:
 */
public class Style {

    private short align;
    private short vAlign;
    private short fontSize;
    private short fontColor;
    private short backgroundColor;
    private String font;

    public Style() {
        align = CellStyle.ALIGN_LEFT;
        vAlign = CellStyle.VERTICAL_CENTER;
        fontSize = 10;
        fontColor = HSSFColor.BLACK.index;
        backgroundColor = HSSFColor.WHITE.index;
        font = "微软雅黑";
    }

    public short getAlign() {
        return align;
    }

    public void setAlign(short align) {
        this.align = align;
    }

    public short getvAlign() {
        return vAlign;
    }

    public void setvAlign(short vAlign) {
        this.vAlign = vAlign;
    }

    public short getFontSize() {
        return fontSize;
    }

    public void setFontSize(short fontSize) {
        this.fontSize = fontSize;
    }

    public short getFontColor() {
        return fontColor;
    }

    public void setFontColor(short fontColor) {
        this.fontColor = fontColor;
    }

    public short getBackgroundColor() {
        return backgroundColor;
    }

    public void setBackgroundColor(short backgroundColor) {
        this.backgroundColor = backgroundColor;
    }

    public String getFont() {
        return font;
    }

    public void setFont(String font) {
        this.font = font;
    }
}
